<template>
	<!-- <button @click="delet()">登录注销</button> -->
	 <el-button type="warning" plain  @click="delet()" icon="el-icon-user">登录注销</el-button>
</template>

<script>
	export default {
		name: '',
		data() {
			return {
				charts: '',
			/*	opinion: ["1", "3", "3", "4", "5"],*/
				opinionData: ["3", "2", "4", "4", "5","20","1"]
			}
		},
		methods:{
			delet(){
				window.localStorage.removeItem('authorization')
				window.localStorage.removeItem('uid')
				this.$store.commit("updateLogin",true)
			}
		}
		}
</script>

<style>
</style>
